package jtk.project4.fleet.field;

/*
* Author : Rio Dermawan 
* Date Created : 1-April-2011
* Date Modified : 6-April-2011
* Version : 1.1
* */


import java.awt.Dimension;

import nl.coderight.jazz.form.FormLayout;
import nl.coderight.jazz.form.control.GroupControl;
import nl.coderight.jazz.form.field.ComboField;
import nl.coderight.jazz.form.field.button.CheckButton;
import nl.coderight.jazz.form.field.button.PushButton;

public class TopEquipmentField extends GroupControl {
	private ComboField EquipmentField;
	
	public TopEquipmentField(String bindID){
		setTitle(""); //disesuaikan dengan nama field
		setBindID(bindID);
		createFields();
		createLayout();
	}
	
	private void createFields()
	{
		Dimension dimension = new Dimension(166, 20);
		EquipmentField = new ComboField("EquipmentField","");
		EquipmentField.setPreferredSize(dimension);
	}
	
	private void createLayout()
	{
		setLayout(new FormLayout())

		.addLabel("Equipment :")	 		.addField(EquipmentField);
	}
	
}

